package cn.marinda.resturants.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.Version;
import lombok.Data;

/** 活动实体类
 *
 * @date 2021/11/18
 * @author  Marinda
 */
@Data
@TableName("r_activity")
public class Activity {
    @TableId(value = "uid",type = IdType.UUID)
    private String uid;

    private String title;
    private String content;
    private String href;
    private String description;

    @Version
    private int version;

}
